/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jtmcraft.game.communication.server;

import java.rmi.Remote;
import java.rmi.RemoteException;
import jtmcraft.game.communication.client.ClientInterface;

/**
 *
 * @author oem
 */
public interface ServerInterface extends Remote {
    void joinLocal( ClientInterface clientInterface ) throws RemoteException; 
    int join( String name, String host, int port ) throws RemoteException ;
    void sendMessage( int id, String message ) throws RemoteException;
}
